package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class QzJJZDRidPredShortRowMapper implements RowMapper<QzJJZDRidPredShort>{



	@Override
	public QzJJZDRidPredShort mapRow(ResultSet rs, int rowNum) throws SQLException {
		QzJJZDRidPredShort  lj= new QzJJZDRidPredShort();
		lj.setPredTime(rs.getString("pred_time"));
		lj.setSpeed(rs.getString("speed"));
		lj.setCongestionIndex(rs.getString("congestion_index"));
		lj.setVolIn(rs.getString("vol_in"));
		lj.setStepIndex(rs.getInt("step_index"));
		return lj;
	}

}
